package com.dianrong.common.uniauth.client.custom;

import javax.servlet.http.HttpServletRequest;

import com.dianrong.common.uniauth.client.custom.model.SimpleRedirectInfo;
import com.dianrong.common.uniauth.common.cons.AppConstants;

public class SimpleRedirectFormat implements CustomizedRedirectFormat {
    @Override
    public Object getRedirectInfo(HttpServletRequest request, String loginUrl) {
        return new SimpleRedirectInfo(AppConstants.LOGIN_REDIRECT_URL, loginUrl);
    }
}
